home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 09d2.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  1.5 KB  |  58 lines

  1. on startMovie
  2.   global qtChan, gKnobSprite, gSendMovie
  3.   puppetSprite(48, 1)
  4.   gKnobSprite = 14
  5.   gSendMovie = "09d2"
  6.   setUpKnob()
  7.   set the mouseDownScript to EMPTY
  8.   set the mouseUpScript to EMPTY
  9.   sprite(12).visible = 0
  10.   sprite(13).visible = 0
  11. end
  12.  
  13. on idle
  14.   global gCursorReady
  15.   if gCursorReady = 1 then
  16.     cursor(200)
  17.     checkCursors()
  18.     set the locH of sprite 48 to the mouseH
  19.     set the locV of sprite 48 to the mouseV
  20.     updateStage()
  21.   end if
  22. end
  23.  
  24. on checkCursors
  25.   global gMagCursor
  26.   set the castNum of sprite 48 to the number of member "curs1"
  27.   if rollOver(5) then
  28.     set the castNum of sprite 48 to the number of member "hotCursor"
  29.   end if
  30.   if rollOver(6) then
  31.     set the castNum of sprite 48 to the number of member "hotCursor"
  32.   end if
  33.   if rollOver(7) then
  34.     set the castNum of sprite 48 to the number of member "curs1"
  35.   end if
  36.   repeat with i = 15 to 17
  37.     if rollOver(i) then
  38.       set the castNum of sprite 48 to the number of member "hotCursor"
  39.     end if
  40.   end repeat
  41.   if rollOver(19) then
  42.     set the castNum of sprite 48 to the number of member "hotCursor"
  43.   end if
  44.   if rollOver(29) then
  45.     set the castNum of sprite 48 to the number of member "hotCursor"
  46.   end if
  47.   repeat with i = 33 to 35
  48.     if rollOver(i) then
  49.       set the castNum of sprite 48 to the number of member "hotCursor"
  50.     end if
  51.   end repeat
  52.   repeat with i = 40 to 42
  53.     if rollOver(i) then
  54.       set the castNum of sprite 48 to the number of member "hotCursor"
  55.     end if
  56.   end repeat
  57. end
  58.